<template>
  <div class="p-4">
    <el-card>
      <template #header>
        <div class="flex justify-between items-center">
          <span>用户管理</span>
          <el-button type="primary">新增用户</el-button>
        </div>
      </template>
      <el-table :data="[]">
        <el-table-column label="用户名" prop="username" />
        <el-table-column label="角色" prop="role" />
        <el-table-column label="状态" prop="status" />
        <el-table-column label="创建时间" prop="createTime" />
        <el-table-column label="操作" width="200">
          <template #default>
            <el-button link type="primary">编辑</el-button>
            <el-button link type="danger">删除</el-button>
          </template>
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>


<script lang="ts" setup>
import { getUserInfo } from '@/api/user'
import { onMounted } from 'vue'

onMounted(() => {

})
</script>